<!DOCTYPE html>
<style>
div {
  width: 50px;
  height: 100px;
  border: 1px solid gray;
  display: inline-block;
  writing-mode: vertical-rl;
}
</style>
<!-- unicode-bidi:plaintext should resolve to LTR, ignoring the direction property -->
<div style="direction:rtl; unicode-bidi:plaintext;">x</div>
